<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title></title>
<link rel="stylesheet"  type="text/css" href="./AmazeUI-2.4.2/assets/css/amazeui.css"/>
<link href="./AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css">
<link href="./basic/css/demo.css" rel="stylesheet" type="text/css" />

<link href="./css/sustyle.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="./basic/js/jquery-1.7.min.js"></script>
    <script src="js/vue/vue.js"></script>
    <script src="js/vue/axios.js"></script>
    <script src="js/common.js"></script>

</head>

<body>
<div id="myApp">
    <div class="take-delivery">
        {{shop.name}}
    </div>
</div>


</body>
<script type="text/javascript">
    new Vue({
        el:"#myApp",
        data:{
            shop:{}
        },
        methods:{
            getShop(){
                let shopId = parseUrlParams2Obj(location.href).shopId;
                if(shopId){
                    this.$http.get("/shop/"+shopId).then(res=>{
                        this.shop = res.data;
                        $("#title").html(this.shop.name);
                    }).catch(res=>{
                    });
                }
            }
        },
        mounted(){
            this.getShop();
        }
    });
</script>
</html>
